package pallet

type cbLabelingStateEnum = string

type cbLabelingStateStruct struct {
	LABELING_TRUE  cbLabelingStateEnum
	LABELING_FALSE cbLabelingStateEnum
}

//货架笼箱贴标状态枚举
var CbLabelingStateEnum = &cbLabelingStateStruct{
	LABELING_TRUE:  "LABELING_TRUE",
	LABELING_FALSE: "LABELING_FALSE",
}

var cbLabelingStateMap = map[cbLabelingStateEnum]string{
	CbLabelingStateEnum.LABELING_FALSE: "已贴标",
	CbLabelingStateEnum.LABELING_TRUE:  "未贴标",
}

// 获取货架笼箱贴标状态枚举中文描述
func GetCbLabelStateDesc(code cbLabelingStateEnum) string {
	if cb, ok := cbLabelingStateMap[code]; ok {
		return cb
	}
	return "未知类型"
}
